package com.eightbears.beboy.entity;

import com.eightbears.beboy.base.BaseDataEntity;
import com.eightbears.beboy.base.BaseEntity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by baoga on 2017/4/24.
 */

public class SystemMessageEntity extends BaseEntity implements Serializable {

    public static final String MESSAGE_TYPE_COMMON = "0";
    public static final String MESSAGE_TYPE_RED = "1";
    public static final String MESSAGE_TYPE_VIP = "2";

    private SystemMessageData data;

    public SystemMessageData getData() {
        return data;
    }

    public void setData(SystemMessageData data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "SystemMessageEntity{" +
                "data=" + data +
                '}';
    }

    public static class SystemMessageData extends BaseDataEntity implements Serializable{

        private List<SystemMessage> list;

        public List<SystemMessage> getList() {
            return list;
        }

        public void setList(List<SystemMessage> list) {
            this.list = list;
        }

        @Override
        public String toString() {
            return "SystemMessageData{" +
                    "list=" + list +
                    '}';
        }
    }


    public static class SystemMessage implements Serializable {

        private String id;
        private String to_id;
        private String message;
        private String status;
        private String type;
        private String created_at;


        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTo_id() {
            return to_id;
        }

        public void setTo_id(String to_id) {
            this.to_id = to_id;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        @Override
        public String toString() {
            return "SystemMessageEntity{" +
                    "id='" + id + '\'' +
                    ", to_id='" + to_id + '\'' +
                    ", message='" + message + '\'' +
                    ", status='" + status + '\'' +
                    ", created_at='" + created_at + '\'' +
                    '}';
        }

    }


}



